package com.yangzehan.workbench.dao;


import com.yangzehan.workbench.domain.Activity;
import com.yangzehan.workbench.domain.Clue;
import com.yangzehan.workbench.domain.ClueActivityRelation;
import com.yangzehan.workbench.domain.Tran;

import java.util.List;
import java.util.Map;

public interface ClueDao {


    int save(Clue clue);



    int count(Map<String, Object> map);

    List<Clue> pagelist(Map<String, Object> map);

    Clue findClue(Clue clue);

    List<Activity> getaById(String id);

    int deleteClue(String id);

    List<Activity> getByaname(Map<String, String> map);


    int guanlian(ClueActivityRelation c);

    List<Activity> getByname(String name);




    Clue getaByclueId(String clueId);

    int delecteById(String clueId);

}
